package com.github.livebase.util.template;


import java.util.Map;

/**
 * @ClassName LiteralExpression
 * @description:
 * @author: biao532
 * @create: 2023-12-28 00:26
 * @Version 1.0
 **/
public class LiteralExpression implements IExpression {
    private String data;
    protected LiteralExpression(String data) {
        this.data = data;
    }

    protected String getData() {
        return data;
    }

    @Override
    public Object eval(Map<String, ? extends Object> context) {
        return this.data;
    }

}
